﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Specialized;
using System.Collections;

namespace Infraestructure.CrossCutting.Parsering
{
    public interface IParser
    {
        /// <summary>
        /// Property to get and set the specific parser
        /// </summary>
        IParseBehavior ParseBehavior { get; set; }

        /// <summary>
        /// Property to get and set de Xml file to load the configuration
        /// </summary>
        string XMLConfigurationFile { get; set; }

        /// <summary>
        /// Pase an array list that contains the values of txt
        /// </summary>
        /// <param name="item">an order</param>
        /// <returns>a colection key/value with the name of property of order and the value to that property</returns>
        NameValueCollection GetValuesToEntity(ArrayList item);
    }
}
